<?php

namespace App\Vilidate;

/**
 * user控制器下的验证规则类
 */
class DataOrderController
{



    public $index = ['rule'=>[], 'msg'=>[]];


    public $delete = ['rule'=>[], 'msg'=>[]];

    public $update = [
        'rule'=>[
            'status' => 'required|integer',
        ],
        'msg'=>[
            'status.required' => '状态不能为空',
            'status.integer' => '状态应为整数',
        ]
    ];


}